using ERPBackend.Models;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace ERPBackend.Services
{
    public interface IWorkshopService
    {
        Task<IEnumerable<Workshop>> GetAllWorkshopsAsync();
        Task<Workshop?> GetWorkshopByIdAsync(int id);
        Task<Workshop> CreateWorkshopAsync(Workshop workshop);
        Task<bool> UpdateWorkshopAsync(Workshop workshop);
        Task<bool> DeleteWorkshopAsync(int id);
        Task<bool> ChangeWorkshopStatusAsync(int id, byte status);
    }
}